package byName;

public class Kangaroo extends Animal {
	Kangaroo(String name){
		swimBehavior = new SwimNoWay();
		eatBehavior  = new EatOmnivorous();
		moveBehavior = new MoveJump();
		this.name = name;
}
	
public void display(){
	System.out.println("I Kangaroo and my name " + name);
}

}
